import Vue from 'vue'
import Router from 'vue-router'
import description from '@/views/description'
import welcome from '@/views/welcome'
import edit from '@/views/edit'
import style from '@/views/style'
import sticker from '@/views/sticker'
import result from '@/views/result'
import recommend from '@/views/recommend'
import screen from '@/views/screen'
import preview from '@/components/preview'

Vue.use(Router)

export default new Router({
  // mode: 'history',
  routes: [
    {
      path: '/',
      name: '潮玩人脸',
      component: welcome
    },
    {
      path: '/description',
      name: '潮玩人脸',
      component: description
    },
    {
      path: '/edit',
      name: '潮玩人脸',
      component: edit
    },
    {
      path: '/style',
      name: '潮玩人脸',
      component: style
    },
    {
      path: '/sticker',
      name: '潮玩人脸',
      component: sticker
    },
    {
      path: '/result',
      name: '潮玩人脸',
      component: result
    },
    {
      path: '/recommend',
      name: '潮玩人脸',
      component: recommend
    },
    {
      path: '/screen',
      name: '潮玩人脸',
      component: screen
    },
    {
      path: '/preview',
      name: '预览',
      component: preview
    }
  ]
})
